// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.PatentProductClassDao;
import com.liuxinlong.modules.entity.PatentProductClass;
import com.liuxinlong.modules.mapper.PatentProductClassMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 类描述
 * <p>
 * 此类关联设计的功能
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2023年10月7日
 */
@Service
public class PatentProductClassDaoImpl extends ServiceImpl<PatentProductClassMapper, PatentProductClass> implements PatentProductClassDao {

	@Override
	public List<PatentProductClass> pageProductClassList(Map<String, Object> queryParam) {
		return baseMapper.pageProductClassList(queryParam);
	}

	@Override
	public int getProductClassCount(Map<String, Object> queryParam) {
		return baseMapper.getProductClassCount(queryParam);
	}

	@Override
	public Map<String, Map<String, String>> getProductClassMap() {
		return baseMapper.getProductClassMap();
	}

	@Override
	public List<PatentProductClass> getProductClassList() {
		return baseMapper.getProductClassList();
	}

	@Override
	public PatentProductClass getProductClassByName(String className) {
		return baseMapper.getProductClassByName(className);
	}

	@Override
	public PatentProductClass getCurrentDefault() {
		return baseMapper.getCurrentDefault();
	}
}
